﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Text;
using System.Threading.Tasks;

namespace LatteCoffee.coffeemodel
{
    public class SocketMessage
    {

        public bool CoffeeSocket_Bol { get; set; } = true;
        public bool PrinterSocket_Bol { get; set; } = true;
        public bool RobotSocket_Bol { get; set; } = true;
    }
    public class ErrorMsg
    {
        /// <summary>
        /// 检测缺杯
        /// </summary>
        public bool MotorOriginalPoint_Bol { get; set; } = false;
        /// <summary>
        /// 咖啡豆检测
        /// </summary>
        public bool CoffeeBean_Bol { get; set; } = false;
        /// <summary>
        /// 巧克力粉
        /// </summary>
        public bool ChocolatePowder_Bol { get; set; } = false;
        /// <summary>
        /// 牛奶
        /// </summary>
        public bool Milk_Bol { get; set; } = false;
        /// <summary>
        /// 水
        /// </summary>
        public bool Water_Bol { get; set; } = false;
        /// <summary>
        /// 果糖1
        /// </summary>
        public bool Fructose1_Bol { get; set; } = false;
        /// <summary>
        /// 果糖2
        /// </summary>
        public bool Fructose2_Bol { get; set; } = false;
        /// <summary>
        /// 果糖3
        /// </summary>
        public bool Fructose3_Bol { get; set; } = false;
    }
    public class MsgSocket
    {
        public ErrorMsg ErrorMessage { get; set; } = new ErrorMsg();
        public SocketMessage Socketmessage { get; set; } = new SocketMessage();
        public string Type { get; set; } = "ready";
    }
    public class Coffeemake
    {
        public string MakingID { get; set; } = "";
        public string MsgSreen { get; set; } = "";
        public bool MsgBool { get; set; } = false;
        public int type { get; set; } = 0;
    }
    public class CoffeeType
    {
        public bool MakingType { get; set; }
    }
}
